import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
import { BaseEntity } from "./base.entity";

@Entity({ name: 'Horoscope' })
export default class HoroscopeEntity extends BaseEntity {
  @PrimaryGeneratedColumn()
  SysID: number;

  @Column({ type: 'varchar', length: 25 })
  BeginDate: string;

  @Column({ type: 'varchar', length: 25 })
  EndDate: string;

  @Column({ type: 'varchar', length: 25 })
  Name: string;

  @Column({ type: 'varchar', length: 50 })
  Date: string;

  @Column({ type: 'text' })
  Health: string;

  @Column({ type: 'text' })
  Love: string;

  @Column({ type: 'text' })
  Money: string;

  @Column({ type: 'text' })
  Work: string;

  @Column({ type: 'varchar', length: 25 })
  Icon: string;
}